package com.appbee.media.server;

import javax.validation.constraints.Size;

import com.appbee.core.server.model.EditEntity;
import com.google.appengine.api.datastore.Text;
import com.google.code.twig.annotation.Type;

public class Media extends EditEntity
{
	private String strId;
	
	public String thumbnailBlobKey;
	
	@Size(max=500)
	private String name;
	
	@Type(Text.class)
	private String description;
	
	@Size(max=500)
	private String contentType;
	
	private long contentSize;

	public String getStrId()
	{
		return strId;
	}

	public void setStrId(String strId)
	{
		this.strId = strId;
	}

	public String getThumbnailBlobKey()
	{
		return thumbnailBlobKey;
	}

	public void setThumbnailBlobKey(String thumbnailBlobKey)
	{
		this.thumbnailBlobKey = thumbnailBlobKey;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public String getContentType()
	{
		return contentType;
	}

	public void setContentType(String contentType)
	{
		this.contentType = contentType;
	}

	public long getContentSize()
	{
		return contentSize;
	}

	public void setContentSize(long contentSize)
	{
		this.contentSize = contentSize;
	}
	
}
